﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SIF_2.PresentationLayer
{
    public partial class freportcliente : Form
    {
        public freportcliente()
        {
            InitializeComponent();
        }

        private void freportcliente_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'contabilidadDataSet.Clientes' table. You can move, or remove it, as needed.
            this.clientesTableAdapter.Fill(this.contabilidadDataSet.Clientes);
            this.reportViewer1.RefreshReport();
        }

        private void clientesBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.clientesBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.contabilidadDataSet);
        }

        private void freportcliente_FormClosing(object sender, FormClosingEventArgs e)
        {
            new MenuP().Show();
        }
    }
}
